package com.gdones.gpt.bus.gptstaff.mapper;

import com.gdones.gpt.bus.gptstaff.dto.StaffModeGrant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gdones.gpt.bus.gptstaff.dto.StaffModeGrantDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-06-04
 */
@Mapper
public interface StaffModeGrantMapper extends BaseMapper<StaffModeGrant> {

    int realDeleteByStaffID(@Param("staffID") String staffID);

    StaffModeGrantDto getStaffGrantByGrantID(@Param("staffModesID") String staffModesID);

    int updateAllStaffUseLess();
}
